package com.xie.dao;

import com.xie.pojo.Teacher;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TeacherMapper {

    Teacher loginTeacher(Teacher teacher);

    int addTeacher(Teacher Teacher);

    List<Teacher> queryAllTeacher();

    int deleteTeacher(@Param("tid") String tid);

    int updateTeacher(Teacher teacher);

    Teacher queryTeacher(@Param("tid") String tid);


}
